package com.game.comment.constant;

/**
 * 维护一些经常使用的字段标识名 全部写成静态
 */
public class CommonFields {
    /**
     * 存入redis的token键后缀
     */
    public static final String redisLoginSuffix = ":login:token";
    /**
     * 存入redis中
     */
    public static final String redisPermsSuffix = ":authorities:token";

    /**
     * 员工默认头像
     */
    public static final String defaultEmpAvatar = "/mes/默认头像.jpeg";

    /**
     * 员工在职状态
     */
    public static final Integer empNormally = 0;

    /**
     * 员工离职状态
     */
    public static final Integer empDimission = 1;

    /**
     * 角色编码前缀
     */
    public static final String roleCodePrefix = "ROLE_";

    /**
     * 仓库编码前缀
     */
    public static final String warehouseCOdePrefix = "WARE";

    /**
     * 全部权限redis存储键
     */
    public static final String permsAll = "permsAll";
}
